Skip to content

supernode: Handle genesis L2 block in L1AtSafeHead lookup#19053

Merged
Inphi merged 2 commits intodevelopfrom
inphi/superroot-genesis
Feb 4, 2026
Merged

supernode: Handle genesis L2 block in L1AtSafeHead lookup#19053
Inphi merged 2 commits intodevelopfrom
inphi/superroot-genesis

Conversation

@Inphi
Copy link
Copy Markdown
Contributor

@Inphi Inphi commented Feb 2, 2026

Add special case in L1AtSafeHead to return genesis L1 directly when querying for the genesis L2 block, avoiding unnecessary SafeDB walkback that would otherwise fail at genesis boundary.

This is a useful feature to have so that we can generate a super root for new chains via atTimestamp RPC.

@Inphi Inphi requested a review from a team as a code owner February 2, 2026 22:35
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.6%. Comparing base (00b1c81) to head (55e7c95).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #19053     +/-   ##
==========================================
+ Coverage     73.0%    80.6%   +7.5%     
==========================================
  Files          188      133     -55     
  Lines        10943     6913   -4030     
==========================================
- Hits          7993     5572   -2421     
+ Misses        2804     1341   -1463     
+ Partials       146        0    -146     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests 80.6% <ø> (+4.1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 73 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread op-supernode/supernode/chain_container/virtual_node/virtual_node_test.go Outdated
@Inphi Inphi added this pull request to the merge queue Feb 4, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 4, 2026
@Inphi Inphi added this pull request to the merge queue Feb 4, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 4, 2026
Inphi and others added 2 commits February 4, 2026 11:50
Add special case in L1AtSafeHead to return genesis L1 directly when
querying for the genesis L2 block, avoiding unnecessary SafeDB walkback
that would otherwise fail at genesis boundary.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Inphi Inphi force-pushed the inphi/superroot-genesis branch from 1dd2564 to e0d32ee Compare February 4, 2026 16:50
@Inphi Inphi enabled auto-merge February 4, 2026 16:50
@Inphi Inphi added this pull request to the merge queue Feb 4, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 4, 2026
@Inphi Inphi added this pull request to the merge queue Feb 4, 2026
Merged via the queue into develop with commit 5eaca39 Feb 4, 2026
78 checks passed
@Inphi Inphi deleted the inphi/superroot-genesis branch February 4, 2026 23:33
@geoknee geoknee added the A-op-supernode Area: op-supernode label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-op-supernode Area: op-supernode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants